package cn.sylinx.horm.example.benchmark.mybatis;

import cn.sylinx.horm.example.benchmark.User;

public class UserMybatis extends User {

    public static UserMybatis of(Long id, String userName, String sex, String upass) {
        UserMybatis um = new UserMybatis();
        um.setId(id);
        um.setUserName(userName);
        um.setSex(sex);
        um.setUpass(upass);
        return um;
    }
}
